package cn.iocoder.yudao.module.diy.controller.admin.route.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 装修自定义路由分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class RoutePageReqVO extends PageParam {

    @Schema(description = "插件id", example = "30463")
    private Long addonId;

    @Schema(description = "页面名称")
    private String title;

    @Schema(description = "页面标识", example = "李四")
    private String routeName;

    @Schema(description = "页面路径")
    private String page;

    @Schema(description = "分享内容")
    private String share;

    @Schema(description = "是否支持分享")
    private Integer isShare;

    @Schema(description = "排序")
    private Integer sort;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}